package com.dobest.studentmanagement.dao;

import com.dobest.studentmanagement.domain.StuManager;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @Package: com.dobest.studentmanagement.dao
 * @author: Jounghu
 * @date: 2018/8/26 22:28
 * @version: V1.0
 */
@Repository
public interface StuManagerRepository extends JpaRepository<StuManager, Integer> {

    /**
     * 通过用户名寻找用户
     *
     * @param username
     * @return
     */
    StuManager findByUsername(String username);
}
